package com.demo.rbactest.dao;

import com.demo.rbactest.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {
    List<User> list();

    User getOne(User user);

    List<String> getPermissions(Integer id);

//    插入用户
    Integer save(User test);
}
